.tab{
    position: relative;
    background-color: rgba(227, 247, 247, 0.76);
    height: 620px;
    margin-top: 100px;
    margin-left: 80px;
    padding-top: 5px;
    width: 200px;
    border-radius: 8px;
}
.tablinks{
    height: 40px;
    width: 180px;
    display: flex;
    flex-direction: column;
    padding: 12px 40px;
    margin-top: 15px;
    margin-left: 35px;
    outline: none;
    border: none;
    position:relative;
    font-size: 16px;
    border-top-right-radius: 25px;
    border-bottom-left-radius: 25px;
    z-index: 1;
    cursor: pointer;
}
#icon{
    font-size: 20px;
    position: absolute;
    right: 20px;
}
.tablinks:nth-child(1){
    background-color: rgba(0, 255, 136, 0.5);
}
.tablinks:nth-child(2){
    background-color: rgba(251, 255, 0, 0.5);
}
.tablinks:nth-child(3){
    background-color: rgba(25, 0, 255, 0.5);
}
.tablinks:nth-child(4){
    background-color: rgba(238, 0, 255, 0.5);
}
.tablinks:nth-child(5){
    background-color: rgba(255, 0, 174, 0.5);
}
.tablinks:nth-child(6){
    background-color: rgba(255, 0, 60, 0.5);
}
.tablinks:nth-child(7){
    background-color: rgba(140, 0, 255, 0.5);
}
.tablinks:nth-child(8){
    background-color: rgba(0, 110, 255, 0.5);
}
.tablinks:nth-child(9){
    background-color: rgba(255, 174, 0, 0.5);
}
.tablinks:nth-child(10){
    background-color: rgba(255, 255, 0, 0.5);
}
.tablinks:nth-child(11){
    background-color: rgba(187, 255, 0, 0.5);
}
.tab button:hover {
    background-color: #ddd;
}
  
  /* Create an active/current "tab button" class */
.tab button.active {
    background-color: #ccc;
}
  
  /* Style the tab content */
.tabcontent {
    position: absolute;
    float: left;
    top: 100px;
    left: 360px;
    height: 1200px;
    width: 1100px;
    display: none;
}
.flipCard{
    background-color: transparent;
    width: 240px;
    height: 220px;
    border: 1px solid #f1f1f1;
    perspective: 1000px; /* Remove this if you don't want the 3D effect */
    /* box-shadow: 5px 10px #888888; */
    
}
.flipCards{
    display: flex;
    flex-wrap: wrap;
    gap: 44px;
}
.flipCardInner{
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s;
    transform-style: preserve-3d;
}
.flipCard:hover .flipCardInner{
    transform: rotateY(180deg);
}
.flipCardFront, .flipCardBack{
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden; /* Safari */
    backface-visibility: hidden;
    border-radius: 5px;
}
.flipCardFront{
    background-color: white;
    border: 1px solid black;
    color: red;
    font-size: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.flipCardBack{
    padding-top: 20px;
    background-color: dodgerblue;
    color: white;
    transform: rotateY(180deg);
}

.left{
    padding: 10px;
    width: 180px;
    text-decoration: none;
    font-size: 20px;
    color: white;
    border-radius: 0 5px 5px 0;
}

.all{
    margin-top: 20px;
    display: grid;
    grid: 150px / auto auto auto auto;
    margin-left: 60px;
    
}
h2{
    margin-left: 20px;
}
#tune,  #udon, #grilledBeef, #fried{
    top: 540px;
    background-color: #04AA6D;
    cursor: pointer;
}
#beef, #soba, #chicken, #skewer{
    margin-top: 10px;
    background-color: rgb(0, 255, 51);
    cursor: pointer;
}
#pork, #ramen, #eel, #friShrimp{
    margin-top: 10px;
    background-color: rgb(255, 0, 0);
    cursor: pointer;
}
#tea, #hiya, #ginger, #friPork{
    margin-top: 10px;
    background-color: rgb(255, 221, 0);
    cursor: pointer;
}
#bread{
    top: 580px;
    left: 560px;
    background-color: #04AA6D;
}

.add{
    border: 2px solid red;
    border-top-style: none;
    width: 197px;
    height: 25px;
    margin-top: 2px;
    border-radius: 5px;
    display: none;
    text-align: center;
    padding-top: 5px;
    font-weight: 600;
    
}
.bookImg{
    margin-top: 40px;
    float: left;
    margin-right: 20px ;
}
.title{
    font-size: 25px;
    margin-top: 60px;
    font-weight: 600;
}
.flashcard{
    width: 45px;
    margin-bottom: 50px;
    margin-top: 20px;
    
}
.flash{
    display: flex;
}
.flash p{
    font-size: 25px;
    font-weight: 600;
}
footer{
    /* bottom: 0; */
    margin-top: 440px;
}

